avd_name = sys.argv[2]

def unlock_avd(avd_name):
    switchApp(avd_name)
    type(Key.F2) 

unlock_avd(avd_name)


